package com.sun.alen.service;

import com.sun.alen.entity.Course;
import com.sun.alen.entity.PageBean;

import java.util.List;

public interface CourseService {
    boolean add(Course course);

    boolean delete(String id);

    PageBean search(String input, String select, Integer currentPage, Integer pageSize);

    boolean update(Course course);

    List<Course> all();

    PageBean searchTeacher(String input, String select, Integer teacherId, Integer currentPage, Integer pageSize);
}
